package com.example.gty.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@Api(tags = "图表管理")
public class ViewController {

    @ApiOperation("柱状图")
    @RequestMapping(value = "/index.html",method = RequestMethod.GET)
    public String index(){
        return "/t2.html";
    }

    @ApiOperation("折线图")
    @RequestMapping(value = "/lineView.html",method = RequestMethod.GET)
    public String line(){
        return "/line.html";
    }
}
